Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


AcquireWindow

The AcquireWindow method returns a reference to the window this frame is displayed in.

ODWindow AcquireWindow ();
return value
A reference to the window this frame is displayed in, or kODNULL if this frame does not actually appear in any window. For example, a printing frame does not appear in a window.
DISCUSSION
Only the root frame of a window has a reference to the window; all its embedded frames then inherit this value.

This method increments the reference count of the returned window object. When you have finished using that window object, you should call its Release method.

SEE ALSO
The ODFacet::GetWindow method (page 249).
The ODFrame::SetWindow method (page 340).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help